package com.gupao.javavip.dubbo.provider;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySources;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@NacosPropertySources({
        @NacosPropertySource(dataId = "common-log-logback", groupId = "COMMON", autoRefreshed = true, type = ConfigType.XML),
        @NacosPropertySource(dataId = "service-dubbo-provider", groupId = "TEST", autoRefreshed = true, type = ConfigType.YAML)
})
@SpringBootApplication
public class RPCDubboServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(RPCDubboServerApplication.class, args);
    }
}
